package com.aizuda.boot.modules.business.contract.entity.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;
import java.util.Map;

/**
 * @Author sangyirong
 * @ClassName FieldsVO
 * @Version 1.0
 * @Date 2025/7/15 15:00
 */
@Data
@Schema(description = "字段信息")
public class FieldsVO {

    @Schema(description = "字段ID")
    private Long id;

    @Schema(description = "字段名称")
    private String fieldName;

    @Schema(description = "字段唯一编码")
    private String code;

    @Schema(description = "字段类型")
    private String fieldType;

    @Schema(description = "字段选项")
    private Map<String, Object> fieldOptionMap;

    @Schema(description = "子字段")
    private List<FieldsVO> children;
}
